import { JwtModule } from '@nestjs/jwt';
import Constant from 'src/config/Constant';

const JWT = JwtModule.register({
    global: true,
    secret: Constant.jwt.secret,
    signOptions: { expiresIn: Constant.jwt.expiresIn },
});

export default JWT